export default ({ app, redirect, store }) => {
    console.log('route-AccessControlInfo', store.getters.accessControlInfo)
    app.router.beforeEach((to, from, next) => {
        // console.log('route-pageInfo', app.store.getters.pageTitle)
        // console.log('route-from', from)
        // console.log('route-to', to)
        if (to.name != 'DemoMixin2') {
            // redirect({ path: '/DemoMixin2', query: { args0: 123 } })
        }
        next()

        console.log('after-next')
    })

}